[INFO] cloning repository https://github.com/arora-aditya/just-another-ray-tracer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arora-aditya/just-another-ray-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farora-aditya%2Fjust-another-ray-tracer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farora-aditya%2Fjust-another-ray-tracer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3e2d170c47330f795ca19a1109c4a7e6eb8118e7
[INFO] building arora-aditya/just-another-ray-tracer against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farora-aditya%2Fjust-another-ray-tracer" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/arora-aditya/just-another-ray-tracer on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/arora-aditya/just-another-ray-tracer
[INFO] finished tweaking git repo https://github.com/arora-aditya/just-another-ray-tracer
[INFO] tweaked toml for git repo https://github.com/arora-aditya/just-another-ray-tracer written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/arora-aditya/just-another-ray-tracer already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] f9024c4d468149a1fa4757af852690e997c83ff29d9b1de3e0bb500bd19cd49f
[INFO] running `Command { std: "docker" "start" "-a" "f9024c4d468149a1fa4757af852690e997c83ff29d9b1de3e0bb500bd19cd49f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f9024c4d468149a1fa4757af852690e997c83ff29d9b1de3e0bb500bd19cd49f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f9024c4d468149a1fa4757af852690e997c83ff29d9b1de3e0bb500bd19cd49f", kill_on_drop: false }`
[INFO] [stdout] f9024c4d468149a1fa4757af852690e997c83ff29d9b1de3e0bb500bd19cd49f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 109a8502972a142705415c73b8c2381e1a781fdfe2a225f547d1972f469dcfe9
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "109a8502972a142705415c73b8c2381e1a781fdfe2a225f547d1972f469dcfe9", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling libc v0.2.62
[INFO] [stderr]    Compiling scopeguard v1.0.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.5
[INFO] [stderr]    Compiling libm v0.2.1
[INFO] [stderr]    Compiling bytemuck v1.5.1
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling gif v0.11.2
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling crossbeam-utils v0.7.0
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling crossbeam-queue v0.2.0
[INFO] [stderr]    Compiling c2-chacha v0.2.2
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling memoffset v0.5.3
[INFO] [stderr]    Compiling png v0.16.8
[INFO] [stderr]    Compiling num_cpus v1.11.1
[INFO] [stderr]    Compiling getrandom v0.1.12
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.0
[INFO] [stderr]    Compiling rand_chacha v0.2.1
[INFO] [stderr]    Compiling crossbeam-deque v0.7.2
[INFO] [stderr]    Compiling rand v0.7.2
[INFO] [stderr]    Compiling rayon-core v1.6.1
[INFO] [stderr]    Compiling rayon v1.2.1
[INFO] [stderr]    Compiling jpeg-decoder v0.1.22
[INFO] [stderr]    Compiling tiff v0.6.1
[INFO] [stderr]    Compiling image v0.23.14
[INFO] [stderr]    Compiling ray-tracing-in-a-weekend v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/render/mod.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::tracer::ray::{self, Ray};
[INFO] [stdout]   |                          ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::material`
[INFO] [stdout]   --> src/render/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::material;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SphereThing`
[INFO] [stdout]   --> src/render/mod.rs:16:52
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::objects::sphere::{Sphere, MovingSphere, SphereThing};
[INFO] [stdout]    |                                                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/render/mod.rs:18:29
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::camera::camera::{self, Camera};
[INFO] [stdout]    |                             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::textures::texture::Texture`
[INFO] [stdout]   --> src/render/mod.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::textures::texture::Texture;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/render/mod.rs:40:16
[INFO] [stdout]    |
[INFO] [stdout] 40 |             if ((center-Vec3{e: [4.0,0.2,0.0]}).length() > 0.9) {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Random`
[INFO] [stdout]   --> src/tracer/vec3.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::utils::{self, Random};
[INFO] [stdout]    |                          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/tracer/vec3.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |         (self.e[0]*self.e[0] + self.e[1]*self.e[1] + self.e[2]*self.e[2])
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MulAssign`
[INFO] [stdout]  --> src/tracer/color.rs:1:48
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Add, AddAssign, DivAssign, Mul, MulAssign};
[INFO] [stdout]   |                                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::borrow::Borrow`
[INFO] [stdout]  --> src/objects/hittable_list.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/objects/hittable_list.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 |         if (self.hitables.is_empty()){
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/objects/sphere.rs:14:23
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub material: Box<Material>,
[INFO] [stdout]    |                       ^^^^^^^^ help: use `dyn`: `dyn Material`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/objects/sphere.rs:19:57
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn new(center: Vec3, radius: f32, material: Box<Material>) -> Sphere{
[INFO] [stdout]    |                                                         ^^^^^^^^ help: use `dyn`: `dyn Material`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/objects/sphere.rs:74:23
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub material: Box<Material>,
[INFO] [stdout]    |                       ^^^^^^^^ help: use `dyn`: `dyn Material`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::borrow::Borrow`
[INFO] [stdout]  --> src/objects/aabb.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use core::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::objects::hittable::Hittable`
[INFO] [stdout]  --> src/objects/aabb.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::objects::hittable::Hittable;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::objects::hittable::HitRecord`
[INFO] [stdout]  --> src/objects/aabb.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::objects::hittable::HitRecord;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::material::metal::MetalMaterial`
[INFO] [stdout]  --> src/objects/aabb.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::material::metal::MetalMaterial;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/objects/aabb.rs:39:16
[INFO] [stdout]    |
[INFO] [stdout] 39 |             if (inv_d < 0.0){
[INFO] [stdout]    |                ^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/objects/aabb.rs:42:29
[INFO] [stdout]    |
[INFO] [stdout] 42 |             let t_min2 = if (t0 > t_min) { t0 } else { t_min };
[INFO] [stdout]    |                             ^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/objects/aabb.rs:43:29
[INFO] [stdout]    |
[INFO] [stdout] 43 |             let t_max2 = if (t1 < t_max) { t1 } else { t_max };
[INFO] [stdout]    |                             ^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/objects/aabb.rs:44:16
[INFO] [stdout]    |
[INFO] [stdout] 44 |             if (t_max2 <= t_min2){
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::tracer::vec3`
[INFO] [stdout]  --> src/objects/bvh_node.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::tracer::vec3;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Vec3`, `self`
[INFO] [stdout]  --> src/material/base.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::tracer::vec3::{self, Vec3};
[INFO] [stdout]   |                           ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/material/base.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::utils::{self, Random};
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: patterns aren't allowed in functions without bodies
[INFO] [stdout]   --> src/material/base.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn scatter(&self, mut random: &mut Random, r_in: Ray, hit_record: HitRecord) -> Option<ScatterRecord>;
[INFO] [stdout]    |                       ^^^^^^^^^^ help: remove `mut` from the parameter: `random`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(patterns_in_fns_without_body)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #35203 <https://github.com/rust-lang/rust/issues/35203>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/material/dielectric.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::utils::{self, Random};
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::textures::perlin::Perlin`
[INFO] [stdout]  --> src/textures/image.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::textures::perlin::Perlin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 27 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ray-tracing-in-a-weekend`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "109a8502972a142705415c73b8c2381e1a781fdfe2a225f547d1972f469dcfe9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "109a8502972a142705415c73b8c2381e1a781fdfe2a225f547d1972f469dcfe9", kill_on_drop: false }`
[INFO] [stdout] 109a8502972a142705415c73b8c2381e1a781fdfe2a225f547d1972f469dcfe9
